<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form action="/login" method="post">
    <table>
        <tr>
            <td>用户名:</td>
            <td><input name="uname" type="text"></td>
        </tr>
        <tr>
            <td>密码:</td>
            <td><input name="upass" type="password"></td>
        </tr>
        <tr >
            <td><input type="submit" value="登录"></td>
            <td><input type="button" value="注册"     onclick="window.location.href='/regist'"> </td>
        </tr>

    </table>
</form>

</body>
</html>